package com.cdu.annotation;


import com.cdu.enums.OperationLogEnum;

import java.lang.annotation.*;

/**
 * projectName : app3_spring2ibatis
 * className: OperationLogAnnotation
 * description:
 *
 * @author : git.jas0nch
 * date: 2022-03-28
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})  // 表示参数类型，方法类型的注解。
@Retention(RetentionPolicy.RUNTIME)  // 表示运行时可见
@Documented
public @interface OperationLogAnnotation {

    /**
     * @description :
     * @return : tech.cj.config.enums.OperationLogEnum
     * @author : git.jas0nch
     * date : 2022/3/28
     **/
    OperationLogEnum getOperationAction() default OperationLogEnum.OTHER;
}
